'use strict';
const db = uniCloud.database();
exports.main = async (event, context) => {
	const collection =  db.collection('t_user')
	
	var res = await collection.add({
		name:event.name,
		password:event.password,
		phone:event.phone
	})
	
	return res;
};
